﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using DAL;

namespace BLL
{
    public class BODiemDanh
    {
        private DiemDanh _diemdanh;
        public BODiemDanh()
        {
            _diemdanh = new DiemDanh();
        }

        public int GetDiemDanh(string tenLop, string MaSV, int MaMonHoc, int soBuoi)
        {
            return _diemdanh.GetDiemDanh(tenLop, MaSV, MaMonHoc, soBuoi);
        }

        public DataSet InsertDiemDanh(string tenLop, string maSV, int maMonHoc, int diemDanh, int soBuoi)
        {
            return _diemdanh.InsertDiemDanh(tenLop, maSV, maMonHoc, diemDanh, soBuoi);
        }

        public int GetSoBuoi(string tenLop, int maMonHoc)
        {
            return _diemdanh.GetSoBuoi(tenLop, maMonHoc);
        }

        public int GetBuoiDiHoc(string maSV, int maMonHoc)
        {
            return _diemdanh.GetBuoiDiHoc(maSV, maMonHoc);
        }
    }
}
